<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <title>lark doc</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <link href="../../css/doc/manager.css" rel="stylesheet">
</head>

<body>
    <div class="container">
        <div name="head-panel">
            <h2>文档管理</h2>
            <span class="project-span">
                <div id="typeSel" class="dropdown btn-select">
                    <button id="typeDropdown" class="btn btn-default dropdown-toggle" type="button"  data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" val="-1">
                        所有&nbsp;<span class="caret"></span>
                    </button>
                    <ul class="dropdown-menu" aria-labelledby="typeDropdown">
                        <li><a href="#" val="2" title="归属项目的文档">项目</a></li>
                        <li><a href="#" val="3" title="开放的文档" >开放</a></li>
                        <li><a href="#" val="0" title="自己可见文档">私有</a></li>
                        <li><a href="#" val="-1" title="所有文档">所有</a></li>
                    </ul>
                </div>
                <span id="projectSpan" style="display: none;">
                    <input id="projects" name="projects" type="text" placeholder="输入的项目名称筛选" />
                </span>
            </span>
            <span class="btn-span">
                <a class="a_btn btn btn-large btn-primary" href="create.html">新增文档</a>
                <button class="btn btn-large btn-primary" type="button" id="btnDelBatch">批量删除</button>
            </span>
        </div>
        <div name="tabel-panel">
            <table id="proTable" class="table table-striped table-hover">
                <thead>
                    <tr class="row">
                        <th>
                            <input type="checkbox" id="selectBatch" />
                        </th>
                        <th>名称</th>
                        <th>标签</th>
                        <th>简介</th>
                        <th>最近版本</th>
                        <th>创建时间</th>
                        <th>最后更新时间</th>
                        <th>创建者</th>
                        <th>项目</th>
                        <th>编辑</th>
                    </tr>
                </thead>
                <tbody></tbody>
            </table>
        </div>
        <div id="page-panel" class="text-right">
            <ul class="pagination"></ul>
        </div>
        <div id="release-modal" class="modal fade" tabindex="-1" role="dialog" data-target=".bs-example-modal-sm">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                        <h4 class="modal-title">文档发布</h4>
                    </div>
                    <form class="form-horizontal" role="form" id="rvForm">
                        <div class="modal-body">
                            <div class="form-group require">
                                <label for="groupname" class="col-sm-2 control-label">发布文档</label>
                                <div class="col-sm-8">
                                    <input id="rvDocId" type="hidden" name="rvDocId" style="display: none;" />
                                    <p id="rvDocName" class="form-control-static"></p>
                                </div>
                            </div>
                            <div class="form-group require">
                                <label for="groupname" class="col-sm-2 control-label">最近版本</label>
                                <div class="col-sm-8">
                                    <p id="lastRealse" class="form-control-static"></p>
                                </div>
                            </div>
                            <div class="form-group require">
                                <label for="groupname" class="col-sm-2 control-label">发布版本</label>
                                <div class="col-sm-8">
                                    <input type="text" class="form-control" id="rvVerNo" name="versionNo" placeholder="请输入发布版本号" maxlength="200" required="required" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="groupname" class="col-sm-2 control-label">发布说明</label>
                                <div class="col-sm-8">
                                    <textarea class="form-control" id="rvDesc" name="description" rows="3"></textarea>
                                </div>
                            </div>
                        </div>
                        <div class="modal-footer">
                            <input type="reset" value="重置" class="btn btn-primary" />
                            <button id="releaseBtn" type="button" class="btn btn-primary">确认发布</button>
                            <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript " src="../../js/lib/jquery.min.js"></script>
    <script type="text/javascript " src="../../lib/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript " src="../../lib/bootstrap/js/popover.js"></script>
    <script type="text/javascript " src="../../lib/bootstrap/js/bootstrap-tagsinput-revise.min.js"></script>
    <script type="text/javascript " src="../../lib/bootstrap/js/bootstrap3-typeahead.min.js"></script>
    <script type="text/javascript " src="../../lib/bootstrap/js/bootstrap-paginator.min.js"></script>
    <script type="text/javascript" src="../../lib/bootstrap/js/typeahead.bundle.min.js"></script>
    <script type="text/javascript " src="../../js/utils/comm-utils.js"></script>
    <script type="text/javascript " src="../../js/doc/manager.js"></script>
    <script type="text/javascript " src="../../js/comm/nvg-login.js "></script>
</body>

</html>